package edu.szte.ovrt.datahandler.ui.console;

public class ExitAction extends Exception implements IAction {
	private static ExitAction m_ExitAction;

	protected ExitAction() {
	// NOOP
	}

	public static ExitAction getInstance() {
		if (m_ExitAction == null) {
			m_ExitAction = new ExitAction();
		}
		return m_ExitAction;
	}

	@Override
	public void run() throws ExitAction {
		throw this;
	}

}
